/**
 * 
 */
package org.intelligentsia.temporal.primitives;

import org.intelligentsia.temporal.TemporalFactory;

/**
 * @author <a href="mailto:jguibert@intelligents-ia.com" >Jerome Guibert</a>
 */
public class ObjectTemporalFactory implements TemporalFactory<ObjectTemporal> {

	/**
	 * @see org.intelligentsia.temporal.TemporalFactory#newInstance(org.intelligentsia.temporal.Temporal)
	 */
	@Override
	public ObjectTemporal newInstance(final ObjectTemporal result) {
		return new ObjectTemporal(result.getTransactionTime(), result.getValue());
	}

}
